﻿namespace Ayatta.Contract.Component
{
    public enum AvatarSize : byte
    {
        Big,
        Middle,
        Small
    }
    public static class AvatarExtension
    {
        public static string GetSize(this AvatarSize avatar)
        {
            var s = string.Empty;
            switch (avatar)
            {
                case AvatarSize.Big:
                    s = "130x130"; break;
                case AvatarSize.Middle:
                    s = "55x55"; break;
                case AvatarSize.Small:
                    s = "35x35"; break;
            }
            return s;
        }
    }
}